// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently,
// but are changed infrequently

#pragma once


#define WIN32_LEAN_AND_MEAN             // Exclude rarely-used stuff from Windows headers
// Windows Header Files:
#include <windows.h>

// C RunTime Header Files
#include <stdlib.h>
#include <malloc.h>
#include <memory.h>
#include <tchar.h>

#include <vector>
#include <winsock2.h>
#include <ws2tcpip.h>
#include <stdlib.h>
#include <stdio.h>
#include <cstdlib>
#include <conio.h>

extern const char* g_LastCommError;

#define TRY try
#define CATCH catch(std::string Exception){}
#define THROW(message) throw std::string(message);
#define THROW_INTERNALERROR(message) throw std::string("Internal Error: ").append(message);
#define ERROR(message){ g_LastCommError = message ? message : ""; }
#define STATUS(message){  }

